home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
LOTTORTS
/
NFLTRACK.LZH
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1992-04-06
|
2KB
|
98 lines
@echo off
rem Setup file for The NFL Tracker
rem (c) September 9, 1989 Micro Moonlighters
rem All Rights Reserved
cls
echo
echo The NFL Tracker Installation Procedure
echo
echo This batch file will setup The NFL Tracker from Micro Moonlighters
echo into a subdirectory called TNT on your hard disk.
echo
echo If your hard disk is designated by a letter other than C:, then exit
echo this batch file by pressing Control+C, then restart TNTINSTL and specify
echo the letter of your hard disk as an argument. For example, if your
echo hard disk is drive D:, then invoke setup by typing...
echo
echo INSTALL D:
echo
echo If you would like to install T.N.T. on a directory other than \TNT,
echo this can be accomplished by adding a second parameter. For example, if
echo your hard disk is C: and the directory you wish to install into is
echo C:\SHAREWRE\TNT, issue the command as follows...
echo
echo INSTALL C: SHAREWRE\TNT
echo
if .%1 == . goto cont0
if .%2 == . goto cont2
echo If you continue, TNT will be installed on %1\%2. If this
echo is not correct hit CTRL+C to abort the installation.
goto cont3
:cont2
echo If you continue, TNT will be installed on %1\TNT. If this
echo is not correct hit CTRL+C to abort the installation.
:cont3
echo
pause
goto main
:cont0
echo If you continue, TNT will be installed on C:\TNT. If this
echo is not correct hit CTRL+C to abort the installation.
echo
pause
:main
if .%1 == . goto default1
if .%2 == . goto maindir
cls
echo
echo INSTALL is now copying files to %1\%2
echo
mkdir %1\%2
rem Copy self-extracting ZIP file, execute it, and delete it.
copy T-N-T.EXE %1\%2
%1
cd \%2
T-N-T
del T-N-T.EXE
goto done
:maindir
cls
echo
echo INSTALL is now copying files to %1\TNT
echo
mkdir %1\TNT
rem Copy self-extracting ZIP file, execute it, and delete it.
copy T-N-T.EXE %1\TNT
%1
cd \TNT
T-N-T
del T-N-T.EXE
goto done
:default1
cls
echo
echo INSTALL is now copying files to C:\TNT
echo
mkdir C:\TNT
rem Copy self-extracting ZIP file, execute it, and delete it.
copy T-N-T.EXE C:\TNT
C:
cd \TNT
T-N-T
del T-N-T.EXE
goto done
:done
cls
echo
echo The NFL Tracker (T.N.T.) is now installed.
echo To start The NFL Tracker, type TNT and press the Enter key.
echo